angular.module('app').directive('appPositionList', ['cache',function(cache){
            return {
            	restrict:'A',
            	replace:true,
            	templateUrl:'views/template/positionList.html',
            	scope: {
            		list:'=',
            		filterObj:'='
            	},
                  link:function($scope){
                        $scope.name = cache.get('name')||'';
                        $scope.select = function (item){
                              item.select = !item.select
                        }
                  }

            }
        }])